<include file="Public:header" />
<script language=javascript src="__PUBLIC__/Js/wpCalendar.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/layui/build/css/layui.css">
    <script src="__PUBLIC__/layui/build/layui.js" charset="utf-8"></script>
<script language="JavaScript">
ifcheck = true;
function CheckAll(form)
{
    for (var i=0;i<form.elements.length-2;i++)
    {
        var e = form.elements[i];
        e.checked = ifcheck;
    }
    ifcheck = ifcheck == true ? false : true;
}
</script>
<style>
    .ncenter_box{padding:0px;border:none}
    .kaishi{text-align: left;font-size: 14px;height:40px;line-height: 40px}
    .kaishi span{padding-left:10px}
    .queding{text-align:center;font-size: 14px;height:40px;line-height: 40px}
    .bt_tj{height: 30px;padding:0 15px;line-height: 30px;border-radius: 3px;}
    iframe{height:400px;}
    .zong{width:100%;height:40px;line-height: 40px;border-bottom: 1px solid #ddd}
    .tittle{width:100px;float:left;padding-left:10px;}
    .info{float:left}
     @media( max-width: 624px){
        .laydate_box{ left: 50% !important; margin-left: -120px !important; }
    }
</style>
  <!--时间选择-->
    <script>
        layui.use('laydate', function(){
            var laydate = layui.laydate;
            var start = {
                min: laydate.now()
                ,max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    end.min = datas; //开始日选好后，重置结束日的最小日期
                    end.start = datas //将结束日的初始值设定为开始日
                }
            };
            var end = {
                min: laydate.now()
                ,max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    start.max = datas; //结束日选好后，重置开始日的最大日期
                }
            };

        });
    </script>
    <!--时间选择END-->
<div class="accounttitle"><h1>升级管理</h1></div>
<div class="ncenter_box">
    <table width="100%" align="center" style="margin-top:20px">
        <tr>
            <td align="center">
                <form method='post' action="__URL__/adminmemberJJ">
                    
                    <div class="kaishi"><span>开始日期：</span>
                        <input name="sNowDate" type="text" id="sNowDate" readonly value="{$sNowDate}" onclick="layui.laydate({elem: this, festival: true})" />
                        <!-- <input name="sNowDate" type="text" id="sNowDate" onFocus="showCalendar(this)" readonly /> -->
                         </div>
                    <div class="kaishi"><span>结束日期：</span>
                        <input name="endNowDate" type="text" id="endNowDate" readonly value="{$endNowDate}" onclick="layui.laydate({elem: this, festival: true})" />
                   <!--   <input name="endNowDate" type="text" id="endNowDate" onFocus="showCalendar(this)" readonly />  -->
                 </div>
                    <div class="kaishi"> <span>会员编号：</span>
                    <input name="UserID" type="text"id="UserID" title="帐号查询" maxlength="200" >
</div>
                        <div class="queding">
                             <input type="submit"  value="搜索" class="bt_tj" style="padding: 0px 12px; background: #b13a33;color: #fff;border-radius: 5px">
                        <!-- <input type="submit" name="Submit" value="搜索" class="bt_tj"/> -->
                    </div>


                </form>
            </td>
        </tr>
    </table>


<form name="form3" method="post" action="__URL__/JJl">
<table width="100%" class="tab3" border="0" cellpadding="3" cellspacing="1" id="tb1" bgcolor="#b9c8d0" >

    <volist name="list" id="vo" key="k">
        <div <if condition="$k%2== '0'"><if condition="$k%4== '0'"> style="background-color:#f2dede;border-left:2px solid #d73d32 ;"<else/> style="background-color:#fcf8e3;border-left:2px solid #f4b400 ;" </if ><else/>style="background-color:#dff0d8;border-left:2px solid #53a93f;"</if > >
        <div class="zong">
            <div class="tittle">
                <!--<input type="checkbox" name="chkall" value="checkbox" onclick="CheckAll(this.form)"  class="btn2" id="chkall" />-->
            </div>
            <div class="info">
                <input type="checkbox" name="tabledb[]" value="{$vo['id']}" class="btn2" style="margin-top:15px;margin-left:15px;"/>
            </div>
        </div>
        <div class="zong">
            <div class="tittle">会员编号</div>
            <div class="info">{$vo['user_id']}</div>
        </div>
        <div class="zong">
            <div class="tittle">原级别</div>
            <div class="info">{$HYJJ[$vo['u_level']]}({$HYNM[$vo['u_level']]})</div>
        </div>
        <div class="zong">
            <div class="tittle">申请级别</div>
            <div class="info">{$HYJJ[$vo['up_level']]}({$HYNM[$vo['up_level']]})</div>
        </div>
        <div class="zong">
                    <div class="tittle">升级补差</div>
                    <div class="info">{$vo['money_two']}</div>
                </div>
        <div class="zong">
            <div class="tittle">申请时间</div>
            <div class="info">{$vo.create_time|date='Y-m-d H:i:s',###}</div>
        </div>
        <div class="zong">
            <div class="tittle">确认时间</div>
            <div class="info"><gt name="vo.pdt" value="0">{$vo.pdt|date='Y-m-d H:i:s',###}</gt></div>
        </div>
        <div class="zong">
            <div class="tittle">状态</div>
            <div class="info"><eq name="vo['is_pay']" value="1"><span style="color: #F00;">已确认</span></eq><eq name="vo['is_pay']" value="0"><span style="color: #090;">未确认</span></eq></div>
        </div>
       </div>
        </volist>
<div style="margin-top:20px;text-align: center">
<input name="全选" type="button" class="bt_tj" id="全选" onclick="CheckAll(this.form)" value="全选" />
<input type="submit" name="action" value="确认" class="bt_tj" onclick="{if(confirm('确定吗?')){return true;}return false;}">
<input type="submit" name="action" value="删除" class="bt_tj" onclick="{if(confirm('确定删除吗?')){return true;}return false;}">
</div>
    </table>

</form>






    <!--<tr class="content_td" align="center">-->
    <!--<th >-->
        <!--<input type="checkbox" name="chkall" value="checkbox" onclick="CheckAll(this.form)"  class="btn2" id="chkall" />-->
      <!--</th>-->
    <!--<th nowrap ><span>会员编号</span></th>-->
     <!--<th nowrap ><span>由级别</span></th>-->
    <!--<th nowrap ><span>升级为</span></th>-->
    <!--<th nowrap ><span>申请时间</span></th>-->
    <!--<th nowrap ><span>确认时间</span></th>-->
    <!--<th nowrap ><span>状态</span></th>-->
   <!--&lt;!&ndash;  <th nowrap><span>升级</span></th>-->
    <!--<th nowrap><span>降级</span></th> &ndash;&gt;-->
<!--</tr>-->
<!--<volist name="list" id="vo">-->
<!--<tr class="content_td" align="center">-->
    <!--<td><div align="center">-->
      <!--<input type="checkbox" name="tabledb[]" value="{$vo['id']}" class="btn2" />-->
    <!--</div></td>-->
    <!--<td>{$vo['user_id']}</td>-->
    <!--<td>{$level[$vo['u_level']]}</td>-->
    <!--<td>{$level[$vo['up_level']]}</td>-->
    <!--<td>{$vo.create_time|date='Y-m-d H:i:s',###}</td>-->
    <!--<td><gt name="vo.pdt" value="0">{$vo.pdt|date='Y-m-d H:i:s',###}</gt></td>-->
    <!--<td><eq name="vo['is_pay']" value="1"><span style="color: #F00;">已确认</span></eq><eq name="vo['is_pay']" value="0"><span style="color: #090;">未确认</span></eq></td>-->
    <!--&lt;!&ndash; <td><a href="__URL__/adminMenberJinji/uid/{$vo['id']}/">升级</a></td>-->
    <!--<td><a href="__URL__/adminMenberJiangji/uid/{$vo['id']}/">降级</a></td> &ndash;&gt;-->
<!--</tr>-->
<!--</volist>-->
<!-- 
<tr class="tab3_bottom">
<td>&nbsp;</td>
<td align="center">总计：</td>
<td align="center">{$m_count}</td>

<td align="center">{$m_count}</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>

</tr> -->
<!--<tr>-->
        <!--<td colspan="9">-->
<!--<input name="全选" type="button" class="bt_tj" id="全选" onclick="CheckAll(this.form)" value="全选" />      &nbsp; &nbsp;-->
      <!--<input type="submit" name="action" value="确认" class="bt_tj" onclick="{if(confirm('确定吗?')){return true;}return false;}">-->
      <!--&nbsp; &nbsp;-->
      <!--<input type="submit" name="action" value="删除" class="bt_tj" onclick="{if(confirm('确定删除吗?')){return true;}return false;}"></td>-->
        <!--</td>-->
        <!---->
    <!--</tr>-->

<!--</table>-->
<!--</form>-->



    <div style="margin-top:20px;text-align: center">{$page}</div>

<div class="bottom" style="margin-top:80px;"></div>







<include file="Public:footer" />
<script>new TableSorter("tb1");</script>